<?php

namespace App\Models;

use App\User;
use Illuminate\Database\Eloquent\Model;
class Live extends Model
{
    //
    protected $fillable=['site_id','user_id','module_id','config'];
    protected $casts=[
      'config'=>'Array'
    ];
    public function user(){
        return $this->belongsTo(User::class);
    }
    public function tags(){

    }
}
